﻿

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/themes/base/jquery-ui.css")" />
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Menu.css")" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="/Content/images/favicon.ico">
    <script src="@Url.Content("~/Scripts/jquery-1.6.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.16.min.js")" type="text/javascript"></script>
    
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {

            $('#Processing').bind("ajaxSend", function () {
                $(this).show();
            }).bind("ajaxComplete", function () {
                $(this).hide();
            });

            $('#MenuLateral').load('@Url.Content("~/Home/MenuLateral")');


            //Compability IE 7
            $("ul#topnav li").hover(function () { //Hover over event on list item
                $(this).css({ 'background': '#1376c9 url("@Url.Content("~/Content/images/topnav_active.gif")") repeat-x' }); //Add background color and image on hovered list item
                $(this).find("span").show(); //Show the subnav
            }, function () { //on hover out...
                $(this).css({ 'background': 'none' }); //Ditch the background
                $(this).find("span").hide(); //Hide the subnav
            });
        }); 

//        $(document).ready(function () {
//            
//        });
    
    
        
    </script>
    
    <style type="text/css">
        .box_excluye TABLE {
	        MARGIN: 0px; WIDTH: 630px !important
        }
        
        .box_excluye TABLE THEAD TD {
	        BORDER-RIGHT-WIDTH: 0px; BACKGROUND-COLOR: rgb(204,230,123); BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; FONT-WEIGHT: bold
        }
        .box_excluye TABLE THEAD TR {
	        HEIGHT: 25px
        }

    </style>
</head>
<body>
    <div class="page">
        <header>
            <div id="title" style="float:left">                
                <img src="@Url.Content("~/Content/themes/images/logo.jpg")" />
                <img src="@Url.Content("~/Content/themes/images/bck_menu.png")" />
                @Html.Partial("_MenuTop")
                <br />
            </div> 
            
            <div id="title" style="width:100%">
                @*@Html.Partial("_MenuTop")*@
            </div>           
        </header>
        
        <section id="main">
            <div id="Processing" style="float:left" >
            <br />
            </div>
            <div id="Processing" style="float:left; display:none" >
                    <img src="@Url.Content("~/Content/images/Blue-002-loading.gif")" />
            </div>
            <div style="clear:both"></div>                
            @RenderBody()
        </section>
        <footer>
        </footer>
    </div>
</body>
</html>
